<template>
  <div class="full">
    <div class="container">
      <div class="full-secondtitle">
        <div class="h1">土壤数据</div>
      </div>
    </div>
    <div class="flex-container-th">
      <div class="thl-box1">
        <div class="thl-item">
          <div class="thl-item1">
            <div class="thl-item1-1">22.5</div>
            <div class="thl-item1-2">℃</div>
          </div>
          <div class="thl-item2">
            <div class="thl-item2-1"></div>
            <div class="thl-item2-2">温度</div>
          </div>
        </div>
        <div class="thl-item">
          <div class="thl-item1">
            <div class="thl-item1-1">22.5</div>
            <div class="thl-item1-2">%</div>
          </div>
          <div class="thl-item2">
            <div class="thl-item2-1"></div>
            <div class="thl-item2-2">湿度</div>
          </div>
        </div>
        <div class="thl-item">
          <div class="thl-item1">
            <div class="thl-item1-1">22.5</div>
            <div class="thl-item1-2"></div>
          </div>
          <div class="thl-item2">
            <div class="thl-item2-1"></div>
            <div class="thl-item2-2">PH</div>
          </div>
        </div>
      </div>
      <div class="thl-box2">
        <div class="thl-item">
          <div class="thl-item1">
            <div class="thl-item1-1">22.5</div>
            <div class="thl-item1-2">%</div>
          </div>
          <div class="thl-item2">
            <div class="thl-item2-1"></div>
            <div class="thl-item2-2">导电率</div>
          </div>
        </div>
        <div class="thl-item">
          <div class="thl-item1">
            <div class="thl-item1-1">22.5</div>
            <div class="thl-item1-2"></div>
          </div>
          <div class="thl-item2">
            <div class="thl-item2-1"></div>
            <div class="thl-item2-2">盐分</div>
          </div>
        </div>
      </div>
    </div>
    <div class="container">
      <div class="full-secondtitle">
        <div class="h1">空气数据</div>
      </div>
    </div>
    <div class="flex-container-th">
      <div class="thlbox-3">
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
      </div>
      <div class="thlbox-3">
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
        <div class="thl-item-3">
          <div class="thl-item-3-1">
            <div class="thl-item-3-1-DW">℃</div>
            <div class="thl-item-3-1-number">10</div>
            <div class="thl-item-3-1-text">温度</div>
          </div>
        </div>
      </div>
    </div>
    <div class="container">
      <div class="full-secondtitle">
        <div class="h1">水质数据</div>
      </div>
    </div>
    <div class="flex-container-th">
      <div class="thlbox-3">
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
      </div>
      <div class="thlbox-3">
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
        <div class="thl-item-4">
          <div class="thl-item-4-1-number">10</div>
          <div class="thl-item-4-1-text">温度</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// var chartDom = document.getElementById("main");postall
// var myChart = echarts.init(chartDom);
import * as echarts from "echarts";
import { ref, onMounted, watch } from "vue";
import axios from "axios";

export default {
  data() {
    return {};
  },
  setup() {},
  mounted() {},
  methods: {},
};
</script>
<style scoped>
.full {
  display: flex;
  flex-direction: column;
  width: 25rem;
  /* background-color: #e62f29; */
}
.container {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.full-secondtitle {
  display: flex;
  align-items: center;
  background-color: #ffffff70;
  padding: 0.3rem 1rem;
}
.full-secondtitle .h1 {
  line-height: 1;
  font-size: 1.4rem;

  font-weight: 600;
  color: #ffffff;
}

.flex-container-th {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: 25rem;
  border: 0.08rem solid rgba(255, 255, 255, 0.575);
}
.thl-box1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.625rem;
}
.thl-box2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
}
.thl-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 7.25rem;
  height: 5.25rem;
  background-image: url("../assets/thlitemBJ.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.thl-item1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
}
.thl-item2 {
  display: flex;
  flex-direction: row;
  padding: 0 0.5rem;
}
.thl-item1-1 {
  line-height: 1;
  font-size: 2.25rem;
  font-family: MiSans;
  font-weight: 800;
  color: #ffffff;
}
.thl-item1-2 {
  font-size: 0.75rem;
  font-family: OPPOSans;
  font-weight: 400;
  color: #ffffff;
}

.thl-item2-1 {
  width: 1.5625rem;
  height: 1.5625rem;
  background-image: url("../assets/土壤温度.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}

.thl-item2-2 {
  flex-grow: 1;
  text-align: center;
  font-size: 1rem;

  font-weight: 400;
  color: #88a0bf;
}
.thl-item2-1-2 {
  width: 1.5625rem;
  height: 1.5625rem;
  background-image: url("../assets/土壤温度.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}
.thl-item2-1-3 {
  width: 1.5625rem;
  height: 1.5625rem;
  background-image: url("../assets/PH.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}
.thl-item2-1-4 {
  width: 1.5625rem;
  height: 1.5625rem;
  background-image: url("../assets/土壤电导率.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}
.thl-item2-1-5 {
  width: 1.5625rem;
  height: 1.5625rem;
  background-image: url("../assets/土壤盐分.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}
.thlbox-3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.1rem;
  margin-top: 0.325rem;
}
.thl-item-3 {
  width: 4rem;
  height: 6rem;
  background-image: url("../assets/thlitem2BJ.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.thl-item-3-1 {
  width: 4rem;
  height: 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("../assets/温度.png");
  background-size: 70% 50%;
  background-repeat: no-repeat;
}
.thl-item-3-1-DW {
  margin-left: 2rem;
  font-size: 0.8rem;
  font-family: OPPOSans;
  font-weight: 400;
  color: #ffffff;
}
.thl-item-3-1-number {
  line-height: 1;
  font-size: 2.125rem;
  font-family: MiSans;
  font-weight: 800;
  color: #ffffff;
}

.thl-item-3-1-text {
  font-size: 1rem;

  font-weight: 400;
  color: #88a0bf;
}
.thl-item-4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  background-image: url("../assets/半球.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.thl-item-4-1-number {
  line-height: 1;
  font-size: 2.125rem;
  font-family: MiSans;
  font-weight: 800;
  color: #ffffff;
  grid: 1;
}

.thl-item-4-1-text {
  grid: 1;
  font-size: 1rem;

  font-weight: 400;
  color: #ffffff;
  opacity: 0.8;
}
</style>